<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>案例问答管理系统 | 碗里人工作室</title>
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <link href="__PUBLIC__/Template/default/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/Template/default/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/Template/default/css/ionicons.min.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/Template/default/css/morris/morris.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/Template/default/css/jvectormap/jquery-jvectormap-1.2.2.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/Template/default/css/fullcalendar/fullcalendar.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/Template/default/css/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/Template/default/css/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/Template/default/css/AdminLTE.css" rel="stylesheet" type="text/css" />
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.__PUBLIC__/Template/default/js/1.3.0/respond.min.js"></script>
        <![endif]-->
    </head>
    <body class="skin-blue">
       <header class="header">
            <a href="__ROOT__/" class="logo" style="font-family:微软雅黑;">
                案例问答管理系统
            </a>
            <nav class="navbar navbar-static-top" role="navigation">
                <a href="#" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button">
                    <span class="sr-only" style="font-family:微软雅黑;">导航</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </a>
                <div class="navbar-right">
                    <ul class="nav navbar-nav">
                        <li class="dropdown user user-menu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="glyphicon glyphicon-user"></i>
                                <span style="font-family:微软雅黑;"><{$userinfo.Username}> <i class="caret"></i></span>
                            </a>
                            <ul class="dropdown-menu">
                                <li class="user-header bg-light-blue">
                                    <img src="__ROOT__<{$userinfo.Faceimg}>" class="img-circle" alt="User Image" />
                                    <p style="font-family:微软雅黑;">
                                        <{$userinfo.Username}> - <{$userinfo.Realname}>
                                        <small>注册于<{$userinfo.RegDate}></small>
                                    </p>
                                </li>
                                <li class="user-body">
                                    <div class="col-xs-3 text-center">
                                        <a href="/Admin/Index/myquestion" style="font-family:微软雅黑;">我的问题</a>
                                    </div>
                                    <div class="col-xs-3 text-center">
                                        <a href="/Admin/Index/myanswer" style="font-family:微软雅黑;">我的回答</a>
                                    </div>
                                    <div class="col-xs-3 text-center">
                                        <a href="/Admin/Index/mycase" style="font-family:微软雅黑;">我的案例</a>
                                    </div>
									<div class="col-xs-3 text-center">
                                        <a href="/Admin/Index/account" style="font-family:微软雅黑;">我的信息</a>
                                    </div>
                                </li>
                                <li class="user-footer">
                                    <div class="pull-left">
                                        <a href="/Admin/Index/account" class="btn btn-default btn-flat" style="font-family:微软雅黑;">设置</a>
                                    </div>
                                    <div class="pull-right">
                                        <a href="__ROOT__/doLogout" class="btn btn-default btn-flat" style="font-family:微软雅黑;">注销</a>
                                    </div>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>
        <div class="wrapper row-offcanvas row-offcanvas-left">
           <aside class="left-side sidebar-offcanvas">
                <section class="sidebar">
                    <div class="user-panel">
                        <div class="pull-left image">
                            <img src="__ROOT__<{$userinfo.Faceimg}>" class="img-circle" alt="User Image" />
                        </div>
                        <div class="pull-left info">
                            <p style="font-family:微软雅黑;"><{$userinfo.Username}>[<{$userinfo.Realname}>]</p>
                        </div>
                    </div>
                    <form action="#" method="get" class="sidebar-form">
                        <div class="input-group">
                            <input type="text" name="q" class="form-control" placeholder="请输入搜索内容"/>
                            <span class="input-group-btn">
                                <button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
                            </span>
                        </div>
                    </form>
                    <ul class="sidebar-menu">
                        <li class="active">
                            <a href="/">
                                <i class="fa fa-dashboard"></i> <span style="font-family:微软雅黑;">系统主页</span>
                            </a>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-laptop"></i><span style="font-family:微软雅黑;">问答中心</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="/Admin/Index/question" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 我来解答</a></li>
                                <li><a href="/Admin/Index/ask" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 我要提问</a></li>
                                <li><a href="/Admin/Index/myquestion" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 我的问题</a></li>
                                <li><a href="/Admin/Index/myanswer" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 我的答案</a></li>
                            </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-folder"></i> <span style="font-family:微软雅黑;">案例中心</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="/Admin/Index/acase" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 案例列表</a></li>
                                <li><a href="/Admin/Index/addcase" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 案例上传</a></li>
                                <li><a href="/Admin/Index/mycase" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 我的案例</a></li>
                            </ul>
                        </li>
						<li class="treeview">
                            <a href="#">
                                <i class="fa fa-user"></i><span style="font-family:微软雅黑;">个人中心</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="/Admin/Index/account" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 账号设置</a></li>
                                <li><a href="/Admin/Index/face" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 头像设置</a></li>
								<li><a href="__ROOT__/doLogout" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 注销登录</a></li>
                            </ul>
                        </li>
						<li class="treeview">
                            <a href="#">
                                <i class="fa fa-cog"></i><span style="font-family:微软雅黑;">系统设置</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
							    <li><a href="/Admin/Set/index" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 系统配置</a></li>
                                <li><a href="/Admin/Set/caseclass" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 案例分类</a></li>
                                <li><a href="/Admin/Set/questionclass" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 问题分类</a></li>
								<li><a href="/Admin/Set/carclass" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 汽车分类</a></li>
								<li><a href="/Admin/Set/user" style="font-family:微软雅黑;"><i class="fa fa-angle-double-right"></i> 用户管理</a></li>
                            </ul>
                        </li>
                    </ul>
                </section>
            </aside>
            <div class="copyrights" style="font-family:微软雅黑;">版权 <a href="http://www.wanli.ren"  title="碗里人工作室">碗里人工作室</a></div>
            <aside class="right-side">
                <section class="content-header">
                    <h1 style="font-family:微软雅黑;">
                        导航
                    </h1>
                    <ol class="breadcrumb">
                        <li><a href="__ROOT__/" style="font-family:微软雅黑;"><i class="fa fa-dashboard"></i> 主页</a></li>
                    </ol>
                </section>
                <section class="content">
                    <div class="row">
                        <div class="col-lg-3 col-xs-6">
                            <div class="small-box bg-aqua">
                                <div class="inner">
                                    <h3>
                                        <a href="__URL__/ask" style="color:#FFF;font-family:微软雅黑;font-size:20pt;">我要提问</a>
                                    </h3>
                                    <p style="font-family:微软雅黑;">
                                        Ask a question.
                                    </p>
                                </div>
                                <div class="icon">
                                    <i class="ion ion-bag"></i>
                                </div>
                                <a href="#" class="small-box-footer" style="font-family:微软雅黑;">
                                    More info <i class="fa fa-arrow-circle-right"></i>
                                </a>
                            </div>
                        </div>
                        <div class="col-lg-3 col-xs-6">
                            <div class="small-box bg-green">
                                <div class="inner">
                                    <h3>
                                        <a href="__URL__/question" style="color:#FFF;font-family:微软雅黑;font-size:20pt;">我来解答</a>
                                    </h3>
                                    <p style="font-family:微软雅黑;">
                                        I'll answer.
                                    </p>
                                </div>
                                <div class="icon">
                                    <i class="ion ion-stats-bars"></i>
                                </div>
                                <a href="#" class="small-box-footer" style="font-family:微软雅黑;">
                                    More info <i class="fa fa-arrow-circle-right"></i>
                                </a>
                            </div>
                        </div>
                        <div class="col-lg-3 col-xs-6">
                            <div class="small-box bg-yellow">
                                <div class="inner">
                                    <h3>
                                        <a href="__URL__/acase" style="color:#FFF;font-family:微软雅黑;font-size:20pt;">在线案例</a>
                                    </h3>
                                    <p style="font-family:微软雅黑;">
                                        Online case.
                                    </p>
                                </div>
                                <div class="icon">
                                    <i class="ion ion-person-add"></i>
                                </div>
                                <a href="#" class="small-box-footer" style="font-family:微软雅黑;">
                                    More info <i class="fa fa-arrow-circle-right"></i>
                                </a>
                            </div>
                        </div>
                        <div class="col-lg-3 col-xs-6">
                            <div class="small-box bg-red">
                                <div class="inner">
                                    <h3>
                                        <a href="__URL__/addcase" style="color:#FFF;font-family:微软雅黑;font-size:20pt;">案例上传</a>
                                    </h3>
                                    <p style="font-family:微软雅黑;">
                                        Case upload
                                    </p>
                                </div>
                                <div class="icon">
                                    <i class="ion ion-pie-graph"></i>
                                </div>
                                <a href="#" class="small-box-footer" style="font-family:微软雅黑;">
                                    More info <i class="fa fa-arrow-circle-right"></i>
                                </a>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12 connectedSortable">
                        </div>
                    </div>
                    <div class="row">
                        <section class="col-lg-6 connectedSortable" style="width:100%">
                            <div class="box box-success">
                                <div class="box-header">
                                    <h3 class="box-title" style="font-family:微软雅黑;"><i class="fa fa-comments-o"></i> 最新问题</h3>
                                </div>
                                <div class="box-body chat" id="chat-box">
                                    <volist name="question" id="question" offset="0" length='5' empty="暂无问题">
									<div class="item">
                                        <img src="<php> $Uid=$question['Uid']; $m=M('user'); $user=$m->find($Uid); echo $user['Faceimg'];</php>" alt="user image" class="online"/>
                                        <p class="message">
                                            <a href="#" class="name">
                                                <small class="text-muted pull-right"><i class="fa fa-clock-o"></i> <{$question.DateTime}></small>
                                                <php> $Uid=$question['Uid']; $m=M('user'); $user=$m->find($Uid); echo $user['Username'];</php>
                                            </a>
                                            <a href="__URL__/question/Id/<{$question.Cid}>"><span class="label label-success"><php> $Id=$question['Cid']; $m=M('question_class'); $nqclass=$m->where("Id='$Id'")->find(); echo $nqclass['Title'];</php></span></a> <a href="__URL__/qdetails/Id/<{$question.Id}>"><{$question.Title}> (我来解答)</a>
                                        </p>
                                    </div>
									</volist>
                                </div>
                            </div>
                        </section>
                        <section class="col-lg-6 connectedSortable" style="width:100%;">
                            <div class="box box-success">
                                <div class="box-header">
                                    <h3 class="box-title" style="font-family:微软雅黑;"><i class="fa fa-comments-o"></i> 最新案例</h3>
                                </div>
                                <div class="box-body chat" id="chat-box">
                                    <volist name="case" id="case" offset="0" length='5' empty="暂无案例">
									<div class="item">
                                        <img src="<php> $Uid=$case['Uid']; $m=M('user'); $user=$m->find($Uid); echo $user['Faceimg'];</php>" alt="user image" class="online"/>
                                        <p class="message">
                                            <a href="#" class="name">
                                                <small class="text-muted pull-right"><i class="fa fa-clock-o"></i> <{$case.DateTime}></small>
                                                <php> $Uid=$case['Uid']; $m=M('user'); $user=$m->find($Uid); echo $user['Username'];</php>
                                            </a>
                                            <a href="__URL__/acase/Id/<{$case.Cid}>"><span class="label label-success"><php> $Id=$case['Cid']; $m=M('case_class'); $ncclass=$m->where("Id='$Id'")->find(); echo $ncclass['Title'];</php></span></a> <a href="__URL__/cdetails/Id/<{$case.Id}>"><{$case.Title}></a>
                                        </p>
                                    </div>
									</volist>
                                </div>
                            </div>
                        </section>
                    </div>
                </section>
            </aside>
        </div>
        <script src="__PUBLIC__/Template/default/js/jquery.min.js"></script>
        <script src="__PUBLIC__/Template/default/js/jquery-ui-1.10.3.min.js" type="text/javascript"></script>
        <script src="__PUBLIC__/Template/default/js/bootstrap.min.js" type="text/javascript"></script>
        <script src="__PUBLIC__/Template/default/js/raphael-min.js"></script>
        <script src="__PUBLIC__/Template/default/js/plugins/morris/morris.min.js" type="text/javascript"></script>
        <script src="__PUBLIC__/Template/default/js/plugins/sparkline/jquery.sparkline.min.js" type="text/javascript"></script>
        <script src="__PUBLIC__/Template/default/js/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js" type="text/javascript"></script>
        <script src="__PUBLIC__/Template/default/js/plugins/jvectormap/jquery-jvectormap-world-mill-en.js" type="text/javascript"></script>
        <script src="__PUBLIC__/Template/default/js/plugins/fullcalendar/fullcalendar.min.js" type="text/javascript"></script>
        <script src="__PUBLIC__/Template/default/js/plugins/jqueryKnob/jquery.knob.js" type="text/javascript"></script>
        <script src="__PUBLIC__/Template/default/js/plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>
        <script src="__PUBLIC__/Template/default/js/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js" type="text/javascript"></script>
        <script src="__PUBLIC__/Template/default/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>
        <script src="__PUBLIC__/Template/default/js/AdminLTE/app.js" type="text/javascript"></script>
        <script src="__PUBLIC__/Template/default/js/AdminLTE/dashboard.js" type="text/javascript"></script>
    </body>
</html>